package com.jungle.sp.daily.monitor;

import java.io.IOException;
import java.net.Socket;

public class SimpleClient {
    public static void main(String[] args) {
        final String SERVER_HOST = "localhost";
        final int SERVER_PORT = 12345;

        try (Socket socket = new Socket(SERVER_HOST, SERVER_PORT)) {
            System.out.println("Connected to the server.");
            // 这里可以实现发送房间信息的逻辑
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
